from django.urls import path
from .api import upload_video_api, get_video_api, user_info_api

urlpatterns = [
    path('user/head/id/<id>', user_info_api.user_head_img_api, name="user_head_img_api"),

    path('video/upload/uuid', upload_video_api.get_video_upload_uuid_api, name="get_video_upload_uuid_api"),
    path('video/upload/chunk', upload_video_api.upload_video_chunk_api, name="upload_video_chunk_api"),
    path('video/upload/info', upload_video_api.upload_video_info_api, name="upload_video_info_api"),

    path('video/list/last', get_video_api.get_last_video_list, name="get_last_video_list"),
    path('video/list/user/id', get_video_api.get_video_list_by_user_id, name="get_video_list_by_user_id"),
    path('video/img/uuid/<uuid>', get_video_api.get_video_head_img_by_uuid, name="get_video_head_img_by_uuid"),
    path('video/info/uuid', get_video_api.get_video_info_by_uuid, name='get_video_info_by_uuid'),
    path('video/stream/uuid/<uuid>', get_video_api.get_stream_video_by_uuid, name='get_stream_video_by_uuid'),
]
